<?php

class User_Model_DbTable_Profile extends Custom_Db_Table_Abstract
{

    public $_name = 'vt_user_profiles';

	protected $_referenceMap  = array(
									'User' => array(
									   'columns'           => 'user_id',
									   'refTableClass'     => 'User_Model_DbTable_User',
									   'refColumns'        => 'id'
										),
									'Country' => array(
									   'columns'           => 'country_id',
									   'refTableClass'     => 'Default_Model_DbTable_Country',
									   'refColumns'        => 'id'
										),
								);

	public function save($data)
	{
		return $this->insert($data);
	}
}

